package models

// Yuyan undefined
type Yuyan struct {
	ID            int64   `json:"id" gorm:"id"`
	Uid           int64   `json:"uid" gorm:"uid"`
	Classify      int64   `json:"classify" gorm:"classify"` // 1赏金 2传说奖品
	Daibi         float64 `json:"daibi" gorm:"daibi"`
	State         int64   `json:"state" gorm:"state"` // 1能 2不能
	Daytime       int64   `json:"daytime" gorm:"daytime"`
	Addtime       int64   `json:"addtime" gorm:"addtime"`
	Yuyanjieguoid int64   `json:"yuyanjieguoid" gorm:"yuyanjieguoid"`
	Status        int64   `json:"status" gorm:"status"`
	Obtaindaibi   int64   `json:"obtaindaibi" gorm:"obtaindaibi"`
	Chushang      int64   `json:"chushang" gorm:"chushang"`
}

// TableName 表名称
func (*Yuyan) TableName() string {
	return "yuyan"
}

// Yuyuanjieguo undefined
type Yuyanjieguo struct {
	ID             int64   `json:"id" gorm:"id"`
	Classify       int64   `json:"classify" gorm:"classify"` // 1赏金 2传说奖品
	Jieguo         int64   `json:"jieguo" gorm:"jieguo"`     // 结果 1达到 2未达到
	Daytime        int64   `json:"daytime" gorm:"daytime"`
	Daibi          float64 `json:"daibi" gorm:"daibi"`
	Chushangjieguo float64 `json:"chushangjieguo" gorm:"chushangjieguo"`
	Cannum         int64   `json:"cannum" gorm:"cannum"`         // 预言可以人数
	Nocannum       int64   `json:"nocannum" gorm:"nocannum"`     // 预言不可以人数
	Candaibi       float64 `json:"candaibi" gorm:"candaibi"`     // 可以投入矿石
	Nocandaibi     float64 `json:"nocandaibi" gorm:"nocandaibi"` // 不可以投入矿石
	Status         int64   `json:"status" gorm:"status"`         // 1未参与 2预言中 3已结束
}

// TableName 表名称
func (*Yuyanjieguo) TableName() string {
	return "yuyanjieguo"
}
